package org.sklse.learningassistant.repository;

import org.sklse.learningassistant.bean.Mistake;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface MistakeRepository extends JpaRepository<Mistake,Long>,JpaSpecificationExecutor<Mistake> {
    public Mistake findByMisId(String misId);

    public List<Mistake> findByEditTime(String editTime);

    public List<Mistake> findByPoints(String point);

    public List<Mistake> findByReason(String reason);

}
